//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.tl.satoken.domain.entity;

import java.io.Serializable;

public class Player implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    private String username;
    private String status;
    private Position position;
    private String roomId;
    private MBTISquare mbtiType;

    public String toString() {
        String var10000 = this.id;
        return "Player{id='" + var10000 + "', username='" + this.username + "', status='" + this.status + "', position=" + String.valueOf(this.position) + ", roomId='" + this.roomId + "', mbtiType=" + String.valueOf(this.mbtiType) + "}";
    }

    public boolean equals(Object o) {
        if (this == o) {
            return true;
        } else if (o != null && this.getClass() == o.getClass()) {
            Player player = (Player)o;
            return this.id != null && this.id.equals(player.getId());
        } else {
            return false;
        }
    }

    public int hashCode() {
        return this.id != null ? this.id.hashCode() : 0;
    }

    public String getId() {
        return this.id;
    }

    public String getUsername() {
        return this.username;
    }

    public String getStatus() {
        return this.status;
    }

    public Position getPosition() {
        return this.position;
    }

    public String getRoomId() {
        return this.roomId;
    }

    public MBTISquare getMbtiType() {
        return this.mbtiType;
    }

    public void setId(final String id) {
        this.id = id;
    }

    public void setUsername(final String username) {
        this.username = username;
    }

    public void setStatus(final String status) {
        this.status = status;
    }

    public void setPosition(final Position position) {
        this.position = position;
    }

    public void setRoomId(final String roomId) {
        this.roomId = roomId;
    }

    public void setMbtiType(final MBTISquare mbtiType) {
        this.mbtiType = mbtiType;
    }

    public Player(final String id, final String username, final String status, final Position position, final String roomId, final MBTISquare mbtiType) {
        this.id = id;
        this.username = username;
        this.status = status;
        this.position = position;
        this.roomId = roomId;
        this.mbtiType = mbtiType;
    }

    public Player() {
    }
}
